package qq;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class Remind {

	String classname,url,uid,pwd;
	public Remind() throws SQLException {
		classname = "org.sqlite.JDB";
		
		url = "jdbc:sqlite:D:\\remind.db";
		
		uid = "";
		
		pwd = "";
		
		Connection conn = DriverManager.getConnection(url);
		
		Statement sm = conn.createStatement();
		
		String sql;
		sql = "insert into t1 (short,long) values (hi,hello)";
		
		sm.executeUpdate(sql);
		
		sm.executeQuery("");
		
		conn.close();
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			new Remind();
		} catch (SQLException e) {
			e.printStackTrace();
		}

	}

}
